/*COMMON CSS*/
html, body {
    width: 100%;
    line-height: 1 !important;
    font-weight: 400;
    font-family: 'PingFang SC', 'STHeitiSC-Light', 'Helvetica-Light', arial, sans-serif;
}
h1, h2, h3, p {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    font-weight: normal;
}
input[disabled], input[readonly]:not(.cloned-text-input), select[disabled], select[readonly], textarea[disabled], textarea[readonly]:not(.cloned-text-input) {
    background-color: transparent;
}
/*comm border*/
.border-1px-ccc, .border-1px-f5 {
    position: relative;
}
.border-1px-ccc::after,
.border-1px-f5::after{
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    content: ' ';
}
.border-1px-ccc::after {
    border-top: 1px solid #ccc;
}
.border-1px-f5::after {
    border-top: 1px solid #f5f5f5;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) {
    .border-1px-ccc::after,
    .border-1px-f5::after{
        -webkit-transform: scaleY(0.7);
        transform: scaleY(0.7);
    }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) {
    .border-1px-ccc::after,
    .border-1px-f5::after{
        -webkit-transform: scaleY(0.5);
        transform: scaleY(0.5);
    }
}
/******FOR font******/
.fs-0 {
    font-size: 0 !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-weight-normal {
    font-weight: 400;
}

.fs-weight-bold {
    font-weight: 700;
}

.txt-center {
    text-align: center;
}

.txt-left {
    text-align: left;
}

.txt-right {
    text-align: right;
}

/******FOR color and background******/
.color-333 {
    color: #333 !important;
}
.color-666 {
    color: #666 !important;
}
.color-999 {
    color: #999 !important;
}
.color-222 {
    color: #222 !important;
}
.color-ccc {
    color: #ccc !important;
}
.color-white {
    color: #fff !important;
}
.color-base {
    color: #008fff !important;
}
.color-red {
    color: #fa0213 !important;
}
.color-star {
    color: #ff9c00 !important;
}
.bg-base {
    background-color: #008fff !important;
}

.bg-white {
    background-color: #fff !important;
}
.bg-f7 {
    background-color: #f7f7f7 !important;
}
.bg-black{
    background-color: #1c1b20;
}
.bg-f5 {
    background-color: #f5f5f5 !important;
}
.bg-transparent {
    background-color: transparent !important;
}

/******FOR layout******/
.pad-side-15 {
    padding-left: 15px;
    padding-right: 15px;
}
.pad-b-20 {
    padding-bottom: 20px;
}
.mar-t-0 {
    margin-top: 0px;
}
.mar-t-10 {
    margin-top: 10px;
}

.mar-t-20 {
    margin-top: 20px;
}

.mar-t-30 {
    margin-top: 30px;
}

.mar-l-10 {
    margin-left: 10px;
}
.mar-r-10 {
    margin-left: 10px;
}
.fl {
    float: left;
}

.fr {
    float: right;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}
.ver-top {
    vertical-align: top !important;
}
/******FOR ionic******/
.loading-container .loading {
    background-color: transparent;
}
.popup-container .popup {
    width: 82%;
    max-width: 82%;
    min-width: 82%;
}

.popup-body {
    line-height: 1.2;
    padding: 10px 15px;
    color: #636363;
}

.popup-buttons {
    padding: 10px 15px;
}

.button {
    min-height: 44px;
    border-radius: 3px;
}

.button.button-positive {
    background-color: #008fff;
}

.button.button-positive.activated {
    background-color: #008fff;
    opacity: .9;
}

.button.button-default {
    border-color: #dbdbdb;
}

.button-full {
    border-right-width: 1px;
    border-left-width: 1px;
}

.checkbox input {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: top;
}

.checkbox input:before, .checkbox-icon:before {
    background: #fff;
    border-radius: 2px;
}

.checkbox input:checked:before, input:checked + .checkbox-icon:before {
    border-width: 1px;
}

.checkbox input:checked + .checkbox-icon:before, .checkbox input:checked:before {
    border-color: #d6d6d6;
    background: #fff;
}

.checkbox input:after, .checkbox-icon:after {
    top: 25%;
    left: 22%;
    width: 10px;
    height: 6px;
    border: 2px solid #008fff;
    border-top: 0;
    border-right: 0;
    content: ' ';
    opacity: 0;
}

input[type=text], input[type=tel], input[type=password] {
    padding-top: 0;
    color: #252525;
    min-width: 50px;
    width: 100%;
}

textarea {
    font-size: 16px !important;
    color: #252525 !important;
}
@-webkit-keyframes slideDown /*Safari and Chrome*/
{
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideDown
{
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@-webkit-keyframes slideHide /*Safari and Chrome*/
{
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}
@keyframes slideHide
{
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/******FOR WEUI******/
.my-weui-cell:before {
    left: 0;
}
.no-border-t:before {
    border-top: none;
}
.toolbar .picker-button {
    color: #008fff;
}

.weui-toast--text .weui-toast_content {
    font-size: 14px;
    line-height: 1.2;
}

.weui-media-box__desc {
    line-height: 15px;
}

/******FOR OTHER******/
.clearfix {
    display: block;
    zoom: 1;
}

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
    height: 0;
}

.txt-line-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.txt-line-2 {
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.txt-underline {
    text-decoration: underline;
}

.dm-toast {
    max-width: 60%;
    padding: 10px 15px;
    background: rgba(0, 0, 0, .6);
    position: fixed;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 50% 50%;
    z-index: 999;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    display: none;
}
